<%-- 
    Document   : addUser
    Created on : 26.07.2014, 12:16:17
    Author     : toroke
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <link href="Base2.css" rel="stylesheet" type="text/css">
        <title></title>
    </head>
    <body>

        <c:if test="${er != null}">
            <script type="text/javascript">
                {
                    alert(er);
                }
            </script>
        </c:if>
        <form action="/hrappy-web/AddUser" method="POST" class="basic-grey">

            <h1>Adaugare user

            </h1>
            <label>
                <span>Prenumele</span>
                <input type="text" name="firstName" />
            </label>

            <label>
                <span>Numele</span>
                <input type="text" name="lastName" />
            </label>

            <label>
                <span>Numar de telefon</span>
                <input type="text" name="telNumber" />
            </label>

            <label>
                <span>Numar mobil</span>
                <input type="text" name="mobilNumber" />
            </label>

            <label>
                <span>Email</span>
                <input type="text" name="email" />
            </label>
            <label>
                <span>Functia in companie</span>
                <select name="functionInCompany">
                    <option value="Programator">Programator</option>
                    <option value="Team-Leader">Team-Leader</option>
                    <option value="Sef de departament">Sef de departament</option>
                </select>
            </label>
            <label>
                <span>Descriere</span>
                <input type="text" name="description" />
            </label>

            <label>
                <span>Nume de utilizator</span>
                <input type="text" name="userName" />
            </label>

            <label>
                <span>Parola</span>
                <input type="password" name="password" />
            </label>
            
            <label>
                <br>
                <span>Rol in companie</span>   
                <select name="roleInCompany">
                    <option value="GENERAL">Director General</option>
                    <option value="DEPARTAMENT">Director de Departament</option>
                    <option value="HR">Director HR</option>
                    <option value="RECRUITER">Recruiter</option>
                    <option value="ADMIN">Administratorul</option>
                    <option value="VIEWER">Viewer</option>
                </select>
            </label>

            <label>
                <span>&nbsp;</span> 
                <input type="submit" class="button" value="Adauga" /> 
            </label>    
        </form>
    </body>
</html>
